# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pymeeus
pkgver=0.3.7
pkgrel=1
pkgdesc="ython implementation of Jean Meeus astronomical routines"
url="https://github.com/architest/pymeeus"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3 py3-atomicwrites py3-attrs py3-funcsigs py3-more-itertools py3-pathlib2 py3-pluggy py3-py py3-six"
makedepends="py3-setuptools"
checkdepends="py3-coverage py3-flake8 py3-mccabe py3-pycodestyle py3-pyflakes py3-pytest py3-pytest-cov"
source="https://pypi.python.org/packages/source/P/PyMeeus/PyMeeus-$pkgver.tar.gz"
builddir="$srcdir/PyMeeus-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="834fd3329437827a65a653b5bde9070e049a7932cac3ce06edfdfbd8efd6649b96de9ce46c032b18a7413bcf30d012f21857442e9dd2cf1f0ef23434682cf5e0  PyMeeus-0.3.7.tar.gz"
